FROM openjdk:8-jdk-alpine
VOLUME /tmp
# 服务器内存不够，设置小一点-Xmx100m
ENTRYPOINT java -Xmx100m -Djava.security.egd=file:/dev/./urandom -jar /usr/local/app/grape/backend/house-rest-server/house-rest-server-0.0.1-SNAPSHOT.jar ${NACOS_CONFIG} ${NACOS_DISCOVERY}